#include <stdio.h>
#define M 10
int low(int *score,int *below)
{
    double n=0,a;
    int *p=score,*c=below;
    int i,b=0;
    for (i = 0; i < M; i++)
    n+=*p++;
    a=n/M;
    p=score;
    for (i = 0; i < M; i++,p++)
    {
        if (*p<a)
        {
            *c=*p;
            *c++;
            b++;
        }
    }
    return b;
}
int main()
{
    int score[M],below[M];
    int i,j;
    for (i = 0; i < M; i++)
    scanf("%d",&score[i]);
	j=low(score,below);
    printf("%d\n",j);
    for (i = 0; i < j; i++)
	printf("%d,",below[i]);
	return 0;
}
